package org.jeecg.modules.fk.mapper.auto.model;

import java.io.Serializable;
import java.util.Date;

public class RiskProcessListRecord extends RiskProcessListRecordKey implements Serializable {
    /**
     * 报告生成状态代码
     * 表 : risk_process_list_record
     * 对应字段 : code
     */
    private String code;

    /**
     * 报告生成失败原因
     * 表 : risk_process_list_record
     * 对应字段 : msg
     */
    private String msg;

    /**
     * 创建日期
     * 表 : risk_process_list_record
     * 对应字段 : create_date
     */
    private Date createDate;

    /**
     * 更新日期
     * 表 : risk_process_list_record
     * 对应字段 : update_date
     */
    private Date updateDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table risk_process_list_record
     *
     * @MBG Generated Thu Aug 27 17:13:36 CST 2020
     */
    private static final long serialVersionUID = 1L;

    /**
     * get method 
     *
     * @return risk_process_list_record.code：报告生成状态代码
     */
    public String getCode() {
        return code;
    }

    /**
     * set method 
     *
     * @param code  报告生成状态代码
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * get method 
     *
     * @return risk_process_list_record.msg：报告生成失败原因
     */
    public String getMsg() {
        return msg;
    }

    /**
     * set method 
     *
     * @param msg  报告生成失败原因
     */
    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    /**
     * get method 
     *
     * @return risk_process_list_record.create_date：创建日期
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * set method 
     *
     * @param createDate  创建日期
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * get method 
     *
     * @return risk_process_list_record.update_date：更新日期
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * set method 
     *
     * @param updateDate  更新日期
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     *
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", code=").append(code);
        sb.append(", msg=").append(msg);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}